package com.yaj.mesif.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wei
 * @since 2021-08-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("TO_ORDER")
@ApiModel(value="ToOrder对象", description="")
public class ToOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "シーケンスNO")
    @TableId(value = "SEQ_NO", type = IdType.AUTO)
    private Long seqNo;

    @ApiModelProperty(value = "組織コード")
    @TableField("ORGANIZATIONCODE")
    private String organizationcode;

    @ApiModelProperty(value = "製造オーダー番号")
    @TableField("WIPORDERNUMBER")
    private String wipordernumber;

    @ApiModelProperty(value = "分納NO")
    @TableField("PARTIALNO")
    private Integer partialno;

    @ApiModelProperty(value = "製造部署ID")
    @TableField("MFGST_ID")
    private String mfgstId;

    @ApiModelProperty(value = "完了保管場所コード")
    @TableField("COMPLETIONSUBINVENTORY")
    private String completionsubinventory;

    @ApiModelProperty(value = "棚番")
    @TableField("STORAGE_ID")
    private String storageId;

    @ApiModelProperty(value = "取引数量")
    @TableField("TRANSACTIONQUANTITY")
    private String transactionquantity;

    @ApiModelProperty(value = "過剰取引数量")
    @TableField("QUANTITYOVERCOMPLETED")
    private String quantityovercompleted;

    @ApiModelProperty(value = "破棄数量")
    @TableField("QUANTITYSCRAPPED")
    private String quantityscrapped;

    @ApiModelProperty(value = "端末管理NO")
    @TableField("CLIENT_NO")
    private BigDecimal clientNo;

    @ApiModelProperty(value = "手板NO")
    @TableField("BOARD_NO")
    private Integer boardNo;

    @ApiModelProperty(value = "完了日時")
    @TableField("COMPLETED_DTIME")
    private Date completedDtime;

    @ApiModelProperty(value = "印刷日時")
    @TableField("PRINTED_DTIME")
    private Date printedDtime;

    @ApiModelProperty(value = "単位")
    @TableField("UNIT")
    private String unit;

    @ApiModelProperty(value = "倉庫現品票印刷フラグ")
    @TableField("STOCKPRINTFLAG")
    private String stockprintflag;

    @ApiModelProperty(value = "外注加工費処理フラグ")
    @TableField("PORDERCOMPFLAG")
    private String pordercompflag;

    @ApiModelProperty(value = "輸配送情報I;Fフラグ")
    @TableField("IFLOWPROCFLAG")
    private String iflowprocflag;

    @ApiModelProperty(value = "中間品情報I;Fフラグ")
    @TableField("MIDSTOCKFLAG")
    private String midstockflag;

    @ApiModelProperty(value = "製造ロットNO")
    @TableField("MFGLOTNO")
    private String mfglotno;

    @ApiModelProperty(value = "オーダクローズフラグ")
    @TableField("CLOSEDFLAG")
    private String closedflag;

    @ApiModelProperty(value = "処理フラグ")
    @TableField("PROCESSFLAG")
    private String processflag;

    @ApiModelProperty(value = "備考")
    @TableField("NOTES")
    private String notes;

    @ApiModelProperty(value = "枝番")
    @TableField("BR_NO")
    private String brNo;

    @ApiModelProperty(value = "レコード作成者ID")
    @TableField("CREATED_BY")
    private String createdBy;

    @ApiModelProperty(value = "レコード作成日時")
    @TableField(fill = FieldFill.INSERT)
    private Date createTimestamp;

    @ApiModelProperty(value = "レコード更新者ID")
    @TableField("UPDATED_BY")
    private String updatedBy;

    @ApiModelProperty(value = "レコード更新日時")
    @TableField(fill=FieldFill.UPDATE)
    private Date updateTimestamp;


}
